<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<script>
    /* todo
        创建对象 的两种方式
    */
    let stu01 = new Object()
    stu01.id = 1001
    stu01.name = '张三'
    stu01.age = 18
    stu01.gender = '男'
    console.log(stu01)
    let stu02 = {
        id: 1002,
        name: '李四',
        age: 19,
        gender: '女'
    }
    console.log(stu02)
</script>

</body>
</html>